package cn.xiaoyangh.org.service;

import cn.xiaoyangh.basic.service.IBaseService;
import cn.xiaoyangh.basic.util.PageList;
import cn.xiaoyangh.org.domain.Department;
import cn.xiaoyangh.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
/*    void  save(Department dep);
    void remove(Long id);
    void update(Department dep);
    List<Department> loadAll();
    Department loadById(Long id);

    //分页    总条数+分页
    PageList<Department> queryData(DepartmentQuery dq);

    void deleteAll(List<Long> list);*/

    List<Department> deptTree();
}
